Skip to content

[WIP] Refactor into monorepo#114

Merged
Adamkadaban merged 99 commits intomainfrom
monorepo
Jul 19, 2025
Merged

[WIP] Refactor into monorepo#114
Adamkadaban merged 99 commits intomainfrom
monorepo

Conversation

@Adamkadaban
Copy link
Member

@Adamkadaban Adamkadaban commented Jul 13, 2025

Checklist

  • I have added a version label to my PR (e.g., patch, minor, major).
  • I have tested my changes locally and verified they work as expected.
  • I have added relevant tests to cover my changes.
  • I have made any necessary updates to the documentation.

Description

This PR refactors the codebase to merge the API, CLI, Frontend, and Documentation repos.

Copilot AI review requested due to automatic review settings July 13, 2025 21:51
@Adamkadaban Adamkadaban added the documentation Changes only affect the documentation label Jul 13, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the codebase to merge the API, CLI, Frontend, and Documentation repos into a monorepo structure. The changes introduce a comprehensive frontend component library with reusable UI components, services for network visualization and API error handling, centralized configuration management, and timing constants for consistent behavior across the application.

  • Adds a complete set of reusable frontend components including forms, buttons, loading states, and animations
  • Introduces service layer components for network visualization, data transformation, and error handling
  • Establishes centralized configuration and constants management
  • Implements comprehensive icon library with accessibility features

Reviewed Changes

Copilot reviewed 126 out of 384 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
frontend/src/lib/services/VisNetworkAdapter.ts Network visualization adapter service for vis-network library integration
frontend/src/lib/services/NetworkDataTransformer.ts Service for transforming blueprint data into network visualization format
frontend/src/lib/services/ApiErrorHandler.ts Centralized API error handling with user-friendly message mapping
frontend/src/lib/constants/timings.ts Application timing constants for timeouts, intervals, and animations
frontend/src/lib/constants.ts Centralized constants for UI components, API endpoints, and validation rules
frontend/src/lib/config.ts Environment-specific configuration management
frontend/src/lib/components/index.ts Component export index for organized imports
frontend/src/lib/components/icons/*.svelte Comprehensive icon library with accessibility support
frontend/src/lib/components/animations/*.svelte Animation components for deployment and destruction states
frontend/src/lib/components/*.svelte Reusable UI components including forms, buttons, loading states, and layouts

Nareshp1
Nareshp1 previously approved these changes Jul 13, 2025
@Nareshp1 Nareshp1 dismissed their stale review July 13, 2025 22:18

Not done

@Adamkadaban Adamkadaban changed the title Refactor into monorepo [WIP] Refactor into monorepo Jul 13, 2025
@Adamkadaban
Copy link
Member Author

will fix the frontend type safety stuff on a different branch so we dont clutter this one up.

@OpenLabsHQ OpenLabsHQ deleted a comment from codecov bot Jul 19, 2025
@OpenLabsHQ OpenLabsHQ deleted a comment from codecov bot Jul 19, 2025
Copy link
Member

@Nareshp1 Nareshp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@alexchristy alexchristy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Proving that humans are still faster than AI!

@Adamkadaban Adamkadaban merged commit 8a1b80f into main Jul 19, 2025
6 of 9 checks passed
@Adamkadaban Adamkadaban deleted the monorepo branch July 19, 2025 16:12
@alexchristy alexchristy mentioned this pull request Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants